/*!
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2022-05-25
 *
 * @attention
 *
 *  Copyright (C) 2021-2022 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be usefull and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */


&par Example Description

This example describes how to use the USB OTG device module on APM32F407 to
enumerated as a MSC USB disk. This example use PC as host, and APM32F407 use
internal flash to simulate usb flash drives. PC will recognizes the motherboard as a
usb flash drives, and formatting the U disk, can read and write files to the U disk.

if define TEST_USB_SPEED = 1,This example will be Used to test usb speed.
MSC USB disk will switch storage media. APM32F407 will use sram array to
simulate a fake U disk, unable to store files, only Used to test usb speed.


&par Directory contents

  - USB\Device\USBD_MSC\Source\apm32f4xx_int.c                               Interrupt handlers
  - USB\Device\USBD_MSC\Source\main.c                                        Main program
  - USB\Device\USBD_MSC\Source\bsp_InternalFlash.c                           provides functions for Read and write internal flash
  - USB\Device\USBD_MSC\Source\usb_user.c                                    provides functions for usb user configuration
  - Library\APM32F4xx_OTG_Driver\Core_Device\Application\MSC\src\usbd_storage_disk.c  usb device storage disk operations functions

&par IDE environment

  - MDK-ARM V5.29
  - EWARM V8.50.4.26131

&par Hardware and Software environment

  - This example runs on APM32F407_EVAL Devices.
